// pair.h
//		clone of C++ Template
//
//		When NachOS run, it go into this shell. Read & Parse & Execute Command
//
// Copyright (c) 2011 The Regents of the HuaZhong University of Technology.
// All rights reserved.  See copyright.h for copyright notice and limitation
// of liability and disclaimer of warranty provisions.

#ifndef PAIR_H
#define PAIR_H

#include "copyright.h"
#include "debug.h"

template<class T, class M>
class Pair {
public:
	Pair()
	:first(), second(){}
	Pair(T fir, M sec)
	:first(fir), second(sec){}
	virtual ~Pair(){}
	T First() {
		return first;
	}
	M Second() {
		return second;
	}

private:
	T first;
	M second;
};

#include "pair.cc"

#endif
